package com.huowenjie.util;


public enum ArticleEnum {

	HTML(1, "HTML"), IMAGE(2, "IMAGE"), JSON(3, "json");

	private Integer code;
	private String name;

	ArticleEnum(int code, String name) {
		this.code=code;
		this.name=name;

	}

	/**
	 * @return the code
	 */
	public Integer getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(Integer code) {
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	public static void main(String[] args) {
	}

}
